<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});
//支付宝的接口
Route::get('ali/place_order', 'AlipayController@place_order');
Route::post('ali/notify', 'AlipayController@notify');
Route::get('alipay/paid', 'AlipayController@paid');// 请求支付宝接口, 查看订单支付状态

//微信接口
Route::get('payment/place_order', 'PaymentController@place_order');
Route::post('payment/notify', 'PaymentController@notify');
Route::get('payment/paid', 'PaymentController@paid');// 请求微信接口, 查看订单支付状态

Route::get('get_cash', 'AlipayController@get_cash');//客户端获取现金

Route::post('api/bindCard', 'IdentifyController@bindCard');//绑卡扣费

Route::post('api/getTaskidUrl', 'IdentifyController@getTaskidUrl');//运营商和淘宝的数据的添加到本地数据库
Route::post('api/getXyNotify', 'IdentifyController@xyNotify');//运营商和淘宝的回调扣费
Route::post('api/realmsg', 'IdentifyController@realMsg');//个人信息的认证扣费
Route::post('api/carriermsg', 'IdentifyController@send_vcode');//运营商短信扣费
Route::post('api/reportnotify', 'IdentifyController@reportnotify');//淘宝回调地址

Route::post('api/tips/repay', 'IdentifyController@tipsrepay');//发送还款的短信
Route::post('api/tips/send/password', 'IdentifyController@sendPassmsg');//注册的时候的短信密码提醒

Route::any('api/save/risk/consume', 'IdentifyController@riskConsume');//风控消费明细的接口

Route::any('api/cash/owe/tips', 'CommonController@owe');//资方余额不足提醒
Route::get('api/login/send/code', 'CommonController@sendLoginCode');//登录是的验证码
Route::any('api/general/sendmsg', 'IdentifyController@general_send_vcode');//业务系统登录次数过多的发送验证码
Route::any('api/general/send_auto_payout_msg', 'IdentifyController@general_send_autopayout_vcode');//业务系统打款次数过多的发送验证码
Route::any('api/risk/stastistics', 'CommonController@getRiskStatistic');//获取资方系统的风控数据传输到金蝉子

Route::any('api/carriar/charge', 'IdentifyController@carriar_charge');//运营桑扣费

Route::any('api/fraud/charge', 'IdentifyController@fraudReport');//反欺诈扣分
Route::any('api/sort/charge', 'IdentifyController@ZhimiAndMenghuaRisk');//指迷和孟华的风控扣费
Route::any('api/duotou/charge', 'IdentifyController@duotouCharge');//多头查询



//报告接口
Route::any('/api/user/report', 'ReportController@index');
Route::any('/api/user/report/base', 'ReportController@base');
Route::any('/api/user/report/carrier/data', 'ReportController@carrierData');
Route::any('/api/user/report/carrier', 'ReportController@carrier');
Route::any('/api/user/report/taobao', 'ReportController@taobao');
Route::any('/api/user/report/radar', 'ReportController@radar');
Route::any('/api/user/report/contacts', 'ReportController@contacts');
Route::any('/api/user/report/messages', 'ReportController@messages');
Route::any('/api/user/report/userinfo', 'ReportController@userinfo');


Route::any('/api/user/general/generalreport', 'UserController@general_report');//综合报告的路由

Route::get('/api/moxie/carrier/report', 'CommonController@carrier');//获取运营商报告
